﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows;

namespace EasyDesktop.Model
{
    public class MalveButton
    {
        private Button mButton;
        private string mUrl;

        public MalveButton()
        {
            mButton = new Button();
            mButton.Width = 120;
            mButton.Height = 120;
            mButton.FontSize = 24;
            mButton.Margin = new Thickness(5.0);
        }

        public string Name
        {
            get
            {
                return mButton.Content.ToString();
            }
            set
            {
                mButton.Content = value;
            }
        }

        public string Url
        {
            get
            {
                return mUrl;
            }
            set
            {
                mUrl = value;
            }
        }

        public Button Button
        {
            get
            {
                return mButton;
            }
        }
    }
}
